Ask Your Question
0

How to install a Linux executable in Fedora 24?

asked 2016-08-18 06:01:41 -0600

powergame gravatar image

After I was unable to run filezilla that I had installed via dnf install, I had to remove it and get its Linux executable from developer site. The executable packages has the following structure:
FileZilla3 folders has two folders in it:
bin, share

bin contains executable filezilla while share contains these directories:

appdata  applications  filezilla  icons  locale  man  pixmaps

I assume I have to copy filezilla to /usr/bin for the installation, but how about other directories and files in package? Where should I move them for the application to work perfectly (Of course, it works with just filezilla executable, but I want all features installed e.g. man pages, etc.)?

edit retag flag offensive close merge delete

Comments

1

It is highly recommended to use the package management system of Fedora or to manually compile FileZilla. Why did Filezilla from the Fedora repos not work?

jake gravatar imagejake ( 2016-08-18 07:44:00 -0600 )edit

@jake after I install filezilla from Fedora repos, it crashes once started. Run from commandline, it shows this message: fatal Error: Mismatch between the program and library build versions detected.

powergame gravatar imagepowergame ( 2016-08-18 08:51:52 -0600 )edit

For Filezilla: sudo dnf -y install filezilla. Done.

florian gravatar imageflorian ( 2016-08-18 10:59:19 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-08-18 07:58:13 -0600

jake gravatar image

Usually you download the source of the desired program. In there you should find a INSTALL or README file telling you exactly what to do. I'm trying to generalize the process:

1.0 Install all necessary dependencies (libs etc.)

1.1 Sometimes you have to run a configuration script $ sh ./configure

2.0 Build the source $ sudo make

3.0 Install the build $ sudo make install

That's it, that's all. Installing the necessary dependencies is often the hardest part, they should be listed inside the INSTALL/README file, but are named differently over the various linux distros. Use dnf search TERM to find the correct ones inside the fedora repos.

greets jake

edit flag offensive delete link more

Comments

Thanks for the answer. What if we have a proprietary executable with some related files, e.g. Android Studio from Google which is provided as executable for Linux. How should we install such executables in Linux? Actually, I copied the whole Android Studio pack (unzipped) in one drive of mine and created a symbolic link to it in my ~ directory. Is this the best way, or should I have copied it in a `bin' directory under such directories as /usr/bin, /usr/share/bin,etc. ?

powergame gravatar imagepowergame ( 2016-08-18 09:00:00 -0600 )edit
1

The only proprietary program i ever installed on Fedora was VMware, it came with an installer binary very similar to the setup.exes on Windows.

For precompiled programs i do the following:

  1. Extract the package to /opt

  2. Set read permissions for all files $ sudo chmod -R +r /opt/your_programm

  3. Create a symbolic link of the program executable in /usr/bin

  4. Create a Gnome desktop launcher in /usr/share/applications (have a look at the other launcher files to get an idea of what has to be in there

jake gravatar imagejake ( 2016-08-18 09:40:59 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-08-18 06:01:41 -0600

Seen: 1,359 times

Last updated: Aug 18 '16