LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Midnight Commander offline install (https://www.linuxquestions.org/questions/linux-newbie-8/midnight-commander-offline-install-4175639406/)

Quo Vadis 09-29-2018 07:07 AM

Midnight Commander offline install
 
Hello,

I want to install mc on Ubuntu 14 system not connected to the internet. At this moment all I have is the file /home/qv/mc-4.8.21.tar.xz
Now what commands to type to have it up and running? Thank you

yancek 09-29-2018 07:34 AM

You first need to extract the compressed .xz file, explained at the link below. Should be a README or install file in the extracted directory explaining the process. You need to run the command from the directory in which the file resides. Did you try downloading the software from the Software Manager or using apt-get.

https://askubuntu.com/questions/9232...l-that-uses-xz

Quo Vadis 09-29-2018 07:52 AM

I have downloaded the archive on a Windows computer connected to the internet and then transferred with a memory stick

Quo Vadis 09-29-2018 08:48 AM

make command not found (package unavailable or something)

michaelk 09-29-2018 10:19 AM

Take a look at the documentation. To install MC from source there is list of required programs and libraries.
https://midnight-commander.org/wiki/doc

This might help you download packages for an offline computer.
https://help.ubuntu.com/community/Sy...DownloadScript

pan64 09-29-2018 10:21 AM

you ought to download the binary package instead: https://packages.ubuntu.com/trusty/mc

kilgoretrout 09-29-2018 10:21 AM

You can try downloading the the ubuntu 14.04 mc deb package here:

https://ubuntu.pkgs.org/14.04/ubuntu...amd64.deb.html

or here:

https://ubuntu.pkgs.org/14.04/ubuntu..._i386.deb.html

depending on whether you want the 64bit or 32bit version.

You can then install the mc deb package with:
Code:

sudo dpkg -i package_name.deb
inserting the appropriate package name where indicated. If there aren't any unresolved package dependencies, the installation will go. If there are, you have to track down the needed package dependencies, download and install them in the right order and then install mc. It's a real pain. The apt-get utility does all this for you automatically if you are connected to the internet and have the repositories properly configured.

The error message your getting re the make command is because the make package is not installed on your system. The make package is part of the developer tools and is not usually installed by default on ubuntu IIRC.

Quo Vadis 09-29-2018 06:07 PM

Thank you all, now I think I have enough information to work it out


All times are GMT -5. The time now is 07:38 AM.