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 06-28-2018, 04:57 AM   #1
SkuaSept
LQ Newbie
 
Registered: Aug 2017
Posts: 1

Rep: Reputation: Disabled
Installing software on new Linux installation


Dear all,

My Linux installation is on its last legs and I have decided to install the new Linux Mint (19) when it comes out in a couple of days. I seem to recall reading some time ago that there's a way to generate a file with a list of the software packages I have installed and use the terminal to install these packages on the new installation. Does this ring any bells with anyone?

Thanks in advance for any hints and tips.

Regards
 
Old 06-28-2018, 05:52 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,627

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
The BEST way is to list (on paper) what you use often and work from that.
Second best is to use the command line
Code:
dpkg -l -a |grep ^ii > install.list
to create a file containing everything installed.
The problem with this is that it will contain packages that you do not need, requirements for the versions you have installed now that might NOT be required for your new install, and other items not needed.

Still, it might be a good start.

The more significant thing is if you have custom lists or configurations that you might need in your new install. If you use a feed reader you will want to export the feed list for import on your new install. Does your browser sync bookmarks, history, extensions, and settings so that you can recover those painlessly, or will you need to detect and list those for manual recovery? What of data such as documents, music, pictures? Take some time to record or back up any non-OS items that you might regret losing.
 
1 members found this post helpful.
Old 06-28-2018, 10:50 AM   #3
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
The simplest thing to do is to make a list of everything in the menu. Most of the packages you've installed will be dependencies brought in by those programs. This time, make a document called something like "configuration" in which you can keep a record of software you've added, things you've altered, etc … it makes life much easier!

Also, do you have /home on a separate partition? That too makes life easier if you have to install from scratch rather than update: you don't have to recreate /home from backups and all your configuration is preserved.
 
1 members found this post helpful.
Old 06-28-2018, 11:25 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Try out version 19 via live boot before you install.

How is an installation on its last legs? What do you define that state of condition to be?

People have had Linux installed on systems since the 'aughts (2000's) and all has been fine.

Did you just tinker so very much with it? EDIT: And what distro did you have before?

Your system specifications may be very helpful to know here.

Yes there are the ways discussed above by others.

(Sadly?) I'm a seat of the pants person, but for a few reasons.
  1. I try to remember what I need, and also figure that if I don't recall it, then I never use it, hence I don't need it.
    1. A caveat is that I do have all sorts of personal scripts, programs, and settings for things like emacs, which I keep in backups, as well as on all systems I use, and would ensure that I make one final backup, yet again.
  2. Newer, or different distributions, and especially if it is an update after years of having run something older, will contain all sorts of new bells and whistles, as well as replacement bells/whistles that may obsolete whatever I had before.

Last edited by rtmistler; 06-28-2018 at 11:33 AM.
 
1 members found this post helpful.
Old 06-28-2018, 11:25 AM   #5
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
I suggest you install the new distro, then search the new repos for anything that is missing from your old list.
Not everything will be available or might conflict with the new system.

Note that you can probably keep your old /home directory but that /etc will contain configuration files that you may wish to keep.
Additionally, you need to dig out any useful scripts or crontab entries.

Keep a copy of /etc/passwd as this contains a list of user-UID and default group-GID entries.

The first user installed in Mint is given a UID of 1000 (and gets admin capabilities).
 
1 members found this post helpful.
Old 06-29-2018, 12:08 AM   #6
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I install stuff as I need it. After a few weeks I have everything back on.
 
1 members found this post helpful.
  


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
LXer: Ubuntu Post Installation Script For Installing Software Of Your Choice LXer Syndicated Linux News 0 05-10-2017 10:36 PM
installing software from Red Hat 8.0 installation disks BobJ Linux - Software 1 04-01-2005 08:10 AM
Asking for Installation Disks when Installing Software stuntdubl Linux - Newbie 5 07-20-2003 02:45 PM

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

All times are GMT -5. The time now is 08:18 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