|
Packages are collections of tools that UNIX users can install on their account.
addpkg
This command displays the list of tools, and allows you to install or add any one of them to your account. In order to add a new package, you must select it from the list. Currently installed and/or selected packages have an X next to them. Go all the way down the list until you get OK button highlighted and press Enter to save the changes.
However, after you use the addpkg command, before you can use the package, you must do one of two things:
- You must logout completely. That is, you must get to the point where you initially entered your login name and password. Then simply log back in.
- Or you can source your .cshrc file, (which is located in your home directory):
205 systemname.domain.pdx.edu> source ~/.cshrc
delpkg
Here is a sample output from running delpkg:
208 systemname.domain.pdx.edu> delpkg
Packages currently configured ->
1: mtools - Mtools for MS-DOS file transfer
2: mapleVr6 - MapleV rel 6 (Waterloo Maple Software)
3: jdk1.3.0 - Java Developer Kit v1.3.05
4: sicstus3.8 - Sicstus Prolog version 3.8
Select which package to remove (or Q to quit) : _
For example, to delete the JDK package, you would enter 3. As with addpkg, you must either logout and then log back in, or type source ~/.cshrc at the command prompt in order for the changes to take effect.
listpkg
listpkg lists the packages that you currently have installed.
212 systemname.domain.pdx.edu> listpkg
The following packages are configured :
mtools - Mtools for MS-DOS file transfer
sicstus3.8 - Sicstus Prolog version 3.8
mapleVr6 - MapleV rel 6 (Waterloo Maple Software)
jdk1.3.0 - Java Developer Kit v1.3.0
|