LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-27-2011, 01:49 AM   #1
hamid_sadeghisaba
LQ Newbie
 
Registered: May 2011
Posts: 1

Rep: Reputation: Disabled
install an installed software in ubuntu on another Ubuntu System


hi
first i must note that i`m new in linux.
i installed ubuntu 10.10 on my PC. also i installed some softwares by Ubuntu Software Center, now i want to install some of those software on another Ubuntu system without downloading again. how can it be done?

Last edited by hamid_sadeghisaba; 05-27-2011 at 02:17 AM.
 
Old 05-27-2011, 07:18 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,631

Rep: Reputation: 3267Reputation: 3267Reputation: 3267Reputation: 3267Reputation: 3267Reputation: 3267Reputation: 3267Reputation: 3267Reputation: 3267Reputation: 3267Reputation: 3267
Packages installed with 'Ubuntu software center' or 'Synaptic'
are saved in /var/cache/apt/archives/ .

The packages can be copied to "usb key" or cdrom, and installed
to another Ubuntu 10.10 with :
EDIT : This is a typo : sudo apt-get install <package> <package>

Must be 'sudo dpkg -i <package> <package> <package> <package>'

..

Last edited by knudfl; 05-27-2011 at 07:54 AM.
 
Old 05-27-2011, 07:26 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,133
Blog Entries: 2

Rep: Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836
Quote:
Originally Posted by knudfl View Post
The packages can be copied to "usb key" or cdrom, and installed
to another Ubuntu 10.10 with :
sudo apt-get install <package> <package> <package> <package> <package>
AFAIK, apt-get will not install packages that are on your local machines, it will always look at the repositories. I think the correct command would be
Code:
sudo dpkg -i <package> <package> <package> <package> <package>
 
1 members found this post helpful.
Old 05-27-2011, 07:53 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,631

Rep: Reputation: 3267Reputation: 3267Reputation: 3267Reputation: 3267Reputation: 3267Reputation: 3267Reputation: 3267Reputation: 3267Reputation: 3267Reputation: 3267Reputation: 3267
... Sorry : typo.

Is of course : dpkg -i <package> <package> <package> <package> <package>
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
touble installing ns-2 on Ubuntu (Ubuntu is installed via Virtual Machin) Ghazale Linux - Software 3 05-18-2011 10:45 AM
[SOLVED] Ubuntu update manager not installed software koen plessers Ubuntu 2 06-13-2010 02:09 PM
migrate from ubuntu to xubuntu alaios Ubuntu 28 03-31-2009 05:33 PM
Installed FC5> Wrote over Ubuntu MBR: How do i add Ubuntu Partition to Grub Loader Free_beer Ubuntu 4 10-02-2006 06:11 PM


All times are GMT -5. The time now is 08:22 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration