 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

17th February 2010, 07:35 PM
|
 |
Registered User
|
|
Join Date: May 2006
Location: Northeast USA
Age: 42
Posts: 1,212

|
|
repository list and list of installed applications?
I understand there is a file that stores the repositories' information, but I can't find it!
Is there a way I can create a list of what applications have been installed?
The idea is that if I am running a backup, finding a way to save the repository list and applications installed so if I am upgrading, or fixing a borked system by re-installing Fedora, I could copy the repo list back, and run the applications list like
Code:
yum install <cat apps.txt?>
and get all of the applications I've installed via Yum without having to remember them all?
Is there anything else, outside of /home, I should look at backing up? SELinux settings?
__________________
Linux provides freedom, the problem is most users don't know what it is or how to use it.
My Blog | Danbury Area Computer Society Board Member | Linux User# : 477531
p.s. Anybody who sees I am incorrect in technical procedures, etc., please feel free to correct me. I'm just figuring this out as I go along. :D
|

17th February 2010, 07:44 PM
|
 |
Registered User
|
|
Join Date: Jun 2008
Location: Russia
Age: 25
Posts: 515

|
|
|
yum list installed
will provide information about all installed packages.
|

17th February 2010, 07:55 PM
|
 |
Registered User
|
|
Join Date: May 2006
Location: Northeast USA
Age: 42
Posts: 1,212

|
|
Quote:
Originally Posted by Keldorn
yum list installed
will provide information about all installed packages.
|
Oh, that is just waaaaay too easy!
So I am thinking if I do
Code:
yum list installed > ~/Desktop/applist.txt
to make a list, and then
Code:
yum install cat ~/Desktop/applist.txt
to install them all that may work? Might depend on if the list is horizontile
Code:
gimp inkscape empathy ...
or vertical
Code:
gimp
inkscape
empathy
...
__________________
Linux provides freedom, the problem is most users don't know what it is or how to use it.
My Blog | Danbury Area Computer Society Board Member | Linux User# : 477531
p.s. Anybody who sees I am incorrect in technical procedures, etc., please feel free to correct me. I'm just figuring this out as I go along. :D
|

17th February 2010, 08:06 PM
|
 |
Registered User
|
|
Join Date: Jun 2008
Location: Russia
Age: 25
Posts: 515

|
|
|
Just get the vertical list and then
yum install $(cat somefile.txt)
you can leave this file "as is" or try to remove everything except first column using awk
|

17th February 2010, 09:01 PM
|
 |
Registered User
|
|
Join Date: Jul 2006
Location: Montana
Posts: 731

|
|
|
__________________
If it is not broken, tweak it... If you break Fedora you get to keep both pieces :p
|

17th February 2010, 09:42 PM
|
 |
Registered User
|
|
Join Date: May 2006
Location: Northeast USA
Age: 42
Posts: 1,212

|
|
Quote:
Originally Posted by bodhi.zazen
|
Perfect, that was just the information I was looking for. Thanks!
__________________
Linux provides freedom, the problem is most users don't know what it is or how to use it.
My Blog | Danbury Area Computer Society Board Member | Linux User# : 477531
p.s. Anybody who sees I am incorrect in technical procedures, etc., please feel free to correct me. I'm just figuring this out as I go along. :D
|

17th February 2010, 11:24 PM
|
 |
Registered User
|
|
Join Date: Jul 2006
Location: Montana
Posts: 731

|
|
Quote:
Originally Posted by dragonbite
Perfect, that was just the information I was looking for. Thanks!
|
You are of course, most welcome =)
__________________
If it is not broken, tweak it... If you break Fedora you get to keep both pieces :p
|

28th November 2011, 05:35 AM
|
|
Registered User
|
|
Join Date: Dec 2010
Posts: 19

|
|
|
Re: repository list and list of installed applications?
How can I find which repositories are installed? I mean, how can I see a list of repositories and check whether they are enabled or not ?
Last edited by majidraf; 28th November 2011 at 06:19 AM.
|

28th November 2011, 05:46 AM
|
 |
Administrator
|
|
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224

|
|
|
Re: repository list and list of installed applications?
Just a note about that site: The "restore" command to reinstall packages found in a text file is extremely inefficient. It will attempt to run "yum install $software" once for each piece of software - that's easily 500+ times, and if packages pull in others as dependencies you're bound to have many redundancies.
Keldorn previously wrote the better method, by using the output of the "cat" as a command line argument to yum:
Code:
yum install $(cat installed-software.log)
This way yum will run once, figuring out the dependencies needed and installing all packages together. Quicker to run and less load on the mirrors!
|

28th November 2011, 07:38 AM
|
 |
Registered User
|
|
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,112

|
|
|
Re: repository list and list of installed applications?
Quote:
Originally Posted by majidraf
How can I find which repositories are installed? I mean, how can I see a list of repositories and check whether they are enabled or not ?
|
read info yum.
the command syntax is yum repolist [ all | enabled | disabled ]
|

30th November 2011, 11:40 AM
|
|
Registered User
|
|
Join Date: Dec 2010
Posts: 19

|
|
|
Re: repository list and list of installed applications?
Quote:
Originally Posted by sonoran
read info yum.
the command syntax is yum repolist [ all | enabled | disabled ]
|
Thank you. It solved my problem.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 22:20 (Saturday, 25-05-2013)
|
|
 |
 |
 |
 |
|
|