You may be able to run it in from another App like Nautilus or Thunar in normal user mode and then su into root when prompted in the Terminal. But I can't remember now if that will work or not. But, you can get "root" Prialages in Thunar by Opening it up from within the Terminal by typing "thunar", after you "su" int "root" mode. Then you can use the open Terminal Window Here to open the Terminal in the Directory that your install Script is located.
Or you can open up a Terminal and su into root before you start. Then cd to the dir where you saved the file and run the .sh script or copy the text into the Terminal Window. I don't like to do all that command line typing my self. I'm not that accurate of a typer.
The Text install file just starts with..."yum -y install --skip-broken" (without the ") And leave a space before you start your apps list. The "-y install --skip-broken" is the key to making it all work. When there are any errors, "-y install --skip-broken" answers Yes and Skip Broken to everything and allows the Rest of your Apps to go on Installing. Fedora can handle this pretty well. But, Debain wont even let you use a "--skip-broken" Command. I know, cause I tired and then Read up on it!:O That's all you actually need to add to an Apps list to make it install all the Apps in Your List, in the Terminal. That and making sure all of the Apps in the list each have one space and no Tabs, Returns or any other special or extra characters in the list. Just the App names and version numbers if they are there in the Install List.
And the sh script starts with...
yum -y install --skip-broken (and then add the apps that you want to install, separated with a Space... just like that on separate rows.)
I Use to make these lists by using the feature in FSlint to find all of the installed Packages. I removed the /home/user parameter and add just / to search for all Apps on my System. Then I save the results with the file extension of ".csv" or ".txt" will work too. To delete all of the extra numbers in the list (these will mess up your installs and cause errors in yum). Using FSlint worked, Ok.
But, I found a much better way to get a List of all of the Installed Apps in a Fedora System, by using some Yum Commands in the Terminal. This info is in a Separate article, here...
After I make my "Yum Installed Apps List"...
Then, I open the ".cvs" file in Open Office Calc or Libre Office (choose import and use the default settings or add what works best for you). Or ".txt" files will work too. But, you will have to Open the ".txt" file from within Krusader by Right Clicking on the file and Opening as Open Office Calc file. When Opening it with Calc (choose import and use the default settings or add what works best for you). This makes the extra numbers show up in a column all their own. Just Select and Delete the second, third and so on... columns on the right side, until you get rid of everything that is to the Right of the first Column. Keep the Column with all of the App Names. Don't use the "." during import. This would separate the version numbers from the App names. And they probably do need to stay for allot of the Apps. Then save a copy of this file as a .txt file. Then I open the .txt file up in Open Office Writer, so that I can quickly delete all of the extra caricatures that will stop the installations. Such as ", ( ) and Tabs, Hard and Soft Returns. I use the "Find and Replace' function to get rid of all of these. I find and replace all of the " and replace them with a Space. Then I find and Replace , ) etc and replace them with nothing. I do this first. Then I select more options in find and replace and search for $ as a "Regular Expression". This finds all of the "Returns" (next line entries). If you have done this in the order that I do. Then you can replace the $ (returns) with nothing. Then you may need to Find and Replace any two Spaces together with One Space. This will get rid of all of the unwanted Spaces, Returns and Unwanted Characters. Well, most all of em, that is. After I'm done with the file in Open Office. I Often still have a few Returns left that I just can't get rid of the "easy way". So, I open up the file in a good Plain Text Editor. I like using Kwrite (the default if you open from within Krusader) now, because it defaults to showing the text in on long line, without "Dynamic Word Wrap". This makes it easy to manually delete the rest of the Returns. Any text on the next line has a Return at the end of the previous line in the Window. I us the "Home" and "End" keys on my keyboard to get around much faster. Remember the "Good ol Days", when you actually used all the keys on your keyboard to operate a Computer!:) Well, I just barely do;) Take care when removing and replacing not to redo the same operation, like adding a space and ending up with more than one space between App Names. After I have the file cleaned up, leaving only one space between each App Name, including the version number. I'm ready to make my Install Script or Install Text File (to copy and paste into the Terminal). And do my Installs.
So, if you would rather just use my Install List files instead of copying and pasting to make your own. I put a couple of them up on my Web server for you to Download. Here are the links.
Before you use these files... I found a better way to get a full list of all installed apps from Yum. From this article, List installed packages with YUM. So, go here and Read my Updated Post on this... http://donsdeals.blogspot.com/2010/12/this-post-is-follow-up-to-my-previous.html
Here are my Yum Install Scripts and Apps Install Lists...Left Clicking on the ".sh" file will start the downloading action or Right Click and Save As if you prefer. And for the ".txt" Files. Left Clicking will show the Text file in a browser window and "Right Click - Save As" if you want to download the file.
Here is a link to the whole Directory, that contains my "Yum Install Files". You can Right Click and Save the Files from here too...
More info here... Fedora, using Yum and --skip-broken to install Don's Favorite Fedora Apps
- DonsDeals: Don's favorite Fedora Apps...
- DonsDeals: List installed packages with YUM
- DonsDeals: Using Yum --SkipBroken
Here's some links to helpful pages on using the Find and Replace Features in Open Office...
Finding and Replacing Paragraph Returns and Tabs
Fantastic OpenOffice.org Writer extension for searching and replacing carriage returns (two in a row, etc.) with regular expressions, plus much much more. (I just found this new one today while reviewing the above page on finding and replacing. I installed it and it works great. The descriptions in the drop down list are not the names I am use to for the functions though. Still a very good add-on for Open Office.
Alternative dialog Find & Replace for Write
While I'm at it... here's another good Open Office add on Extension...
Add a Grammar Checker to OpenOffice.org using the After the Deadline Extension
Opening CSV or Text Files as Calc Spreadsheets--and Vice Versa