Setting Up Precompiled Bin Archives for Use

You need to create a .desktop file in /usr/share/applications/ (or /usr/local/share/applications/, or ~/.local/share/applications/) for that.

You can use KDE’s menu editor for creating one (right-click on the start menu and choose “Edit Menu Entries…”), or copy an existing one and change it accordingly with a text editor (it should be quite self-explaining).

On 2015-09-09 17:26, Catlyon wrote:

> the .zip file in /usr/local/bin didn’t give an error report. Still, I’ll
> show the code.
>
>
> Code:
> --------------------
> su -
> man mv [file] [destination]
> --------------------

Is that exactly what you are typing in the terminal?

> This results in the following error
>
> Code:
> --------------------
> can’t chdir to /root/usr/local: Permission denied
> --------------------

Well, the above command produces this result:


cer@minas-tirith:~> man mv [file] [destination]
Man: find all matching manual pages (set MAN_POSIXLY_CORRECT to avoid this)
* mv (1)
mv (1p)
Man: What manual page do you want?
Man:
No manual entry for [file]
No manual entry for [destination]
cer@minas-tirith:~>

which is not what you posted. The command “man” displays manual pages.
Here, you are asking it to display the manual pages for “mv”, then for “[file]”, then for “[destination]”.
Why you want to display those three manual pages, of which only the first one can exist, is beyond my understanding.

Also, I do not understand the result you got — unless you did not type “man mv [file] [destination]” but something else, and you are lying to us, which is very impolite.

> The following commands seem to do nothing even though they seem to be
> recognized by the terminal program.
>
> Code:
> --------------------
> bind ~/usr/local/bin
> chroot_local_user=YES
> --------------------

And what do you intend to do with the above?

“bind” is a bash builtin, which alters how the keyboard is read by bash. I fail to understand what it has to do with archives of programs or what you intend to do with it.

Maybe you intend to do a “mount bind”, which is totally different from the above.

It seems to me that you are following random advice from Internet, instead of answering our questions with precision.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

On 2015-09-09 18:16, Catlyon wrote:
> I want to install the files in a way that will allow
> the application to be appear and be accessed in the start menu.

For that you need to create yourself a menu entry, not copy the files
one place or another.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

I’m looking for a solution that can be used for any package that isn’t available on the repos. If it helps you out I’m using KDE.

On 2015-09-14 18:36, Catlyon wrote:

> I’m looking for a solution that can be used for any package that isn’t
> available on the repos. If it helps you out I’m using KDE.

No, that’s wrong. There is no generic method. The method is particular
to each package, each binary package is different.

Sorry, you absolutely must say which one it is, and where you download
it from. Speculation is absurd, I will not waste more time on it.

If you can not share that information with us, then you will have to ask
the people that create that package for support…

IMHO. HTH.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

I takes knowledge and work to make an RPM out of a bunch of files that make up an application. It takes knowledge and work to put that RPM in a correct way into a repository.

When that is not done, there are no rules and everyone who wants to make his/her software package available can do so in the way she/he likes. And that is what is done. It being to the whim of the distributer and not following any rules, the only thing is to use a combination of the distributer’s documentation and your own healthy knowledge of Unix/Linux. And of course you can ask for help in the forums for a specific package.

When there would be standard for all, as you seem to think, there would of course already be miriads of installation scripts/programs coping with this standard. And in fact there are (like deb and RPM, etc.), but not everybody takes the trouble to adapt his/her software to it.

Alright, I’m trying to download Visual Studio code for a college class. The download was a .zip file with an executable and several file folders but no install script. The executable runs the program. All I need to know is how to add it to the start menu.

Right click the menu icon. Select Edit applications. There you can add remove or change any menu item. Note this is for KDE, other DE may be a bit different but generally follow the same rules of thumb.

On 2015-09-14 20:06, Catlyon wrote:
>
> Alright, I’m trying to download Visual Studio code for a college class.
> The download was a .zip file with an executable and several file folders
> but no install script. The executable runs the program. All I need to
> know is how to add it to the start menu.

Visual Studio is a Windows only program, according to the wikipedia
page, with a proprietary license. My guess is that somebody made it run
under Wine and packaged it. There is also “Visual Studio Code” which I
think has a Linux version (unsure, from reading lightly the wikipedia
article).

So, which one it is?

If it is a Wine package, it probably comes via emule, probably with
little documentation. I would not package it. Simply find what is the
line to start it, then create yourself a menu entry for it, or a desktop
icon to start it. There will probably be none made in advance.

More than that I can not say without having a good look at the
“package”. I’ve never seen it.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Ok that’s what I’m wondering. Thank you. Sorry if I miffed anyone.