$ vimtutorFollow the instructions and you should be done in 30 minutes.
$ yum list | less
$ yum list emacsPay close attention to the output message. Alternatively, you can use
rpm
command to do the same:
$ rpm -q emacs
$ yum install emacsNOTE: Count how many dependent software packages emacs needs and are installed as a result.
$ which emacs $ emacs
$ yum remove emacsNOTE: Count how many software packages yum actually removes.
/import
,
or whatever defined by the $IMPORT_HOME environment variable, such as
/usr/local
. A similar utility called Graft, written in
Perl, can be found here.
To install pkgtools, do the following:
installer
with GID 200, and add yourself to the group.
installer
and change the group permission of those
directories to be writable and setgid.
http://www.cs.ucr.edu/~weesan/cs183/download/pkgtools-1.3.tar.gz
and store it under /import/src
.
/import/pkgs
$ cd /import/pkgs $ /import/pkgs/pkgtools/bin/pkginstall pkgtoolsYou will be prompted for software version and location to get the upgrade. Type "1.3" (without the double quote) for the version and "http://www.cs.ucr.edu/~weesan/cs183/download/pkgtools-1.3.tar.gz" for the location.
/import/bin
to your PATH and
/import/lib
to LD_LIBRARY_PATH in ~/.bashrc
.
PATH=/import/bin:$PATH LD_LIBRARY_PATH=/import/lib:$LD_LIBRARY_PATH
~/.bashrc
$ source ~/.bashrc
http://ftp.gnu.org/gnu/emacs/emacs-22.2.tar.gz
and store
it under /import/src
$ cd /tmp $ gzip -cd /import/src/emacs-22.1.tar.gz | tar xvf - $ cd emacs-22.1 $ CFLAGS="-O3" ./configure --prefix=/import/pkgs/emacs $ make $ make install
pkginstall
.
$ pkginstall emacs
$ emacs
pkginfo
.
$ pkginfo $ pkginfo emacs
pkgremove
.
$ pkgremove emacs
pkginfo
to make sure
it is the case. Hint: an asterisk ('*') at the end of the emacs entry
indicates the emacs package has been removed (or disabled).
/home/shared
and set it up such that only alice
and bob can create and access the files (thus, sharing the files
between alice and bob) under /home/shared
but not tom,
without extra interference from either the users or the system admin.
For example, if alice creates a file named
/home/shared/a
, bob should be able to access/edit the
file right away, and tom can't at all, without having alice to change
the file's permission. In order to receive full credit for this part,
you need to show your result via a couple of screenshots or simply the
text output, of the permission of the /home/shared
and the
error/success messages while accessing the files by different users.