LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-13-2015, 04:16 AM   #1
cilbuper
Member
 
Registered: Mar 2008
Posts: 141

Rep: Reputation: 0
Question Finding out all installed apps/soft/util on curr instal - for re-installation


I'm running Kubuntu 14.04 and have done a LOT of work customizing my OS with app/utilities/programs/etc installs as well as customizing things like dolphin and other programs like Filezilla, vmware, etc.

I'm wondering if there is a way to export a list of all the installed software on the system, or, better yet, that which was installed after the initial OS install.

I have never done a re-install of a Linux system, always a fresh install of a new distro or upgrade and never before was Linux my main OS for 16+ months (this is a record for me for any OS to go without having to do a complete reinstall, so I guess that is saying something for Linux here!!!)

So, can anyone give me any pointers on what I can do to save some of my setings? I'd obviously save things like fstab and my samba config file and various other settings like that. IDK if there is a way to do this automatically or if it has to be done manually.

What I am curious about is transferring my SSH encryption keys (I'm not sure exactly what they are - when ssh'ing to a server for the first time, a key is exchanged and or generated and stored.). I've had a very stange thing happening to me recently where a number of off-site Linux web servers keep asking me to accept the new key every time I log in - which never happened before and I didn't change settings and also my FTP logins aren't working like they used to, now they always prompt for a password. IMHO it seems like there may be some MITM shadiness going on (many more reasons than just this) so I want to do a complete fresh install.

Since I found so many apps being this is the first time having my primary PC a Linux distro, I'd hatee to have to look for all these programs/apps again.

Can anyone give any suggestions as to the best way to go about doing this or any other suggestions (especially if you have an opinion on the SSH key and FTP password issues).

**on a side note, my Windows VM's running filezilla with same passwords, don't have any issue asking for password each time. This made me even more uncomfortable.

Thanks for any suggestions, comments of help you can extend here.
 
Old 11-13-2015, 04:40 AM   #2
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
For all packages installed on your system:

Code:
dpkg --get-selections > file
then, to restore from this list,

Code:
dpkg --set-selections < file
apt-get dselect-upgrade
For stuff like fstab, and other files in /etc, you can build a list, and pass that to tar - or, just use tar to back up the whole directory structure under /etc, then restore it to a temporary directory and copy the files you are interested in (if not all).

Application settings, will unfortunately likely be all over the place in your home directory. .config is a new standard of sorts, but you'll find not every application you use has adapted to it. So, your settings may be found in places like

Code:
${HOME}/.config (directory)
${HOME}/.local (directory)
${HOME}/.<application_name> (can be a file or directory)
${HOME}/some_other_directory_or_file_the_developer(s)_chose (can be a file or directory)
If you expect compromised configuration files, I'd manually inspect files before backing up, or restoring.

Last edited by goumba; 11-13-2015 at 04:47 AM. Reason: fixed code tags, fixed selections command lines
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bluez util and openobex installation megha6788 Linux - Newbie 1 09-21-2008 05:59 AM
FC7, soft raid installation in installed system kjuergen Fedora - Installation 0 09-10-2007 09:12 PM
Finding Installed Apps Premo_Maggot Linux - Newbie 9 12-01-2005 02:35 PM
Already installed apps not loading after rpm installer for other apps toastermaker Linux - Newbie 11 11-17-2003 11:25 AM
Slack curr LabRad Slackware 3 09-02-2003 10:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:19 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
Open Source Consulting | Domain Registration