LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2018, 07:07 AM   #1
Quo Vadis
Member
 
Registered: Mar 2014
Posts: 42

Rep: Reputation: Disabled
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
 
Old 09-29-2018, 07:34 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,539

Rep: Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496
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
 
1 members found this post helpful.
Old 09-29-2018, 07:52 AM   #3
Quo Vadis
Member
 
Registered: Mar 2014
Posts: 42

Original Poster
Rep: Reputation: Disabled
I have downloaded the archive on a Windows computer connected to the internet and then transferred with a memory stick
 
Old 09-29-2018, 08:48 AM   #4
Quo Vadis
Member
 
Registered: Mar 2014
Posts: 42

Original Poster
Rep: Reputation: Disabled
make command not found (package unavailable or something)
 
Old 09-29-2018, 10:19 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,748

Rep: Reputation: 5927Reputation: 5927Reputation: 5927Reputation: 5927Reputation: 5927Reputation: 5927Reputation: 5927Reputation: 5927Reputation: 5927Reputation: 5927Reputation: 5927
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
 
1 members found this post helpful.
Old 09-29-2018, 10:21 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,930

Rep: Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320
you ought to download the binary package instead: https://packages.ubuntu.com/trusty/mc
 
1 members found this post helpful.
Old 09-29-2018, 10:21 AM   #7
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,988

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
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.
 
2 members found this post helpful.
Old 09-29-2018, 06:07 PM   #8
Quo Vadis
Member
 
Registered: Mar 2014
Posts: 42

Original Poster
Rep: Reputation: Disabled
Thank you all, now I think I have enough information to work it out
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
midnight commander peterb Ubuntu 1 10-14-2010 09:22 AM
Midnight Commander help? masterross Linux - Software 3 01-22-2008 09:25 AM
Midnight Commander matombo Fedora 3 11-30-2005 12:41 PM
midnight commander archlyric Linux - Software 2 02-28-2004 02:04 AM
Install Midnight commander (mc) Redhat 7.3 ecolon Red Hat 1 10-13-2003 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration