Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ apt-get install ruby
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- ruby is already the newest version.
- 0 upgraded, 0 newly installed, 0 to remove and 37 not upgraded.
- $ ruby -v
- ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]
- $ apt-get install build-essential libssl-dev curl
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- curl is already the newest version.
- The following extra packages will be installed:
- dpkg-dev fakeroot g++ g++-4.4 gcc gcc-4.4 libalgorithm-diff-perl
- libalgorithm-diff-xs-perl libalgorithm-merge-perl libc-dev-bin libc6-dev
- libdpkg-perl libssl0.9.8 libstdc++6-4.4-dev linux-libc-dev manpages-dev
- zlib1g-dev
- Suggested packages:
- debian-keyring g++-multilib g++-4.4-multilib gcc-4.4-doc libstdc++6-4.4-dbg
- gcc-multilib autoconf automake1.9 libtool flex bison gdb gcc-doc
- gcc-4.4-multilib libmudflap0-4.4-dev gcc-4.4-locales libgcc1-dbg
- libgomp1-dbg libmudflap0-dbg libcloog-ppl0 libppl-c2 libppl7 glibc-doc
- libstdc++6-4.4-doc
- The following NEW packages will be installed:
- build-essential dpkg-dev fakeroot g++ g++-4.4 gcc gcc-4.4
- libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
- libc-dev-bin libc6-dev libdpkg-perl libssl-dev libstdc++6-4.4-dev
- linux-libc-dev manpages-dev zlib1g-dev
- The following packages will be upgraded:
- libssl0.9.8
- 1 upgraded, 18 newly installed, 0 to remove and 36 not upgraded.
- Need to get 20.2 MB of archives.
- After this operation, 58.3 MB of additional disk space will be used.
- Do you want to continue [Y/n]? y
- Get:1 http://security.debian.org/ squeeze/updates/main libssl0.9.8 amd64 0.9.8o-4squeeze13 [998 kB]
- Get:2 http://ftp.debian.org/debian/ squeeze/main libc-dev-bin amd64 2.11.3-3 [210 kB]
- Get:3 http://security.debian.org/ squeeze/updates/main libssl-dev amd64 0.9.8o-4squeeze13 [2289 kB]
- Get:4 http://ftp.debian.org/debian/ squeeze/main linux-libc-dev amd64 2.6.32-45 [839 kB]
- Get:5 http://ftp.debian.org/debian/ squeeze/main libc6-dev amd64 2.11.3-3 [2592 kB]
- Get:6 http://ftp.debian.org/debian/ squeeze/main gcc-4.4 amd64 4.4.5-8 [2688 kB]
- Get:7 http://ftp.debian.org/debian/ squeeze/main gcc amd64 4:4.4.5-1 [4970 B]
- Get:8 http://ftp.debian.org/debian/ squeeze/main libstdc++6-4.4-dev amd64 4.4.5-8 [1526 kB]
- Get:9 http://ftp.debian.org/debian/ squeeze/main g++-4.4 amd64 4.4.5-8 [5515 kB]
- Get:10 http://ftp.debian.org/debian/ squeeze/main g++ amd64 4:4.4.5-1 [1376 B]
- Get:11 http://ftp.debian.org/debian/ squeeze/main libdpkg-perl all 1.15.8.12 [694 kB]
- Get:12 http://ftp.debian.org/debian/ squeeze/main dpkg-dev all 1.15.8.12 [812 kB]
- Get:13 http://ftp.debian.org/debian/ squeeze/main build-essential amd64 11.5 [7178 B]
- Get:14 http://ftp.debian.org/debian/ squeeze/main fakeroot amd64 1.14.4-1 [100 kB]
- Get:15 http://ftp.debian.org/debian/ squeeze/main libalgorithm-diff-perl all 1.19.02-2 [51.5 kB]
- Get:16 http://ftp.debian.org/debian/ squeeze/main libalgorithm-diff-xs-perl amd64 0.04-1 [13.4 kB]
- Get:17 http://ftp.debian.org/debian/ squeeze/main libalgorithm-merge-perl all 0.08-2 [13.5 kB]
- Get:18 http://ftp.debian.org/debian/ squeeze/main zlib1g-dev amd64 1:1.2.3.4.dfsg-3 [192 kB]
- Get:19 http://ftp.debian.org/debian/ squeeze/main manpages-dev all 3.27-1 [1639 kB]
- Fetched 20.2 MB in 3s (6209 kB/s)
- Preconfiguring packages ...
- (Reading database ... 81431 files and directories currently installed.)
- Preparing to replace libssl0.9.8 0.9.8o-4squeeze12 (using .../libssl0.9.8_0.9.8o-4squeeze13_amd64.deb) ...
- Unpacking replacement libssl0.9.8 ...
- Selecting previously deselected package libc-dev-bin.
- Unpacking libc-dev-bin (from .../libc-dev-bin_2.11.3-3_amd64.deb) ...
- Selecting previously deselected package linux-libc-dev.
- Unpacking linux-libc-dev (from .../linux-libc-dev_2.6.32-45_amd64.deb) ...
- Selecting previously deselected package libc6-dev.
- Unpacking libc6-dev (from .../libc6-dev_2.11.3-3_amd64.deb) ...
- Selecting previously deselected package gcc-4.4.
- Unpacking gcc-4.4 (from .../gcc-4.4_4.4.5-8_amd64.deb) ...
- Selecting previously deselected package gcc.
- Unpacking gcc (from .../gcc_4%3a4.4.5-1_amd64.deb) ...
- Selecting previously deselected package libstdc++6-4.4-dev.
- Unpacking libstdc++6-4.4-dev (from .../libstdc++6-4.4-dev_4.4.5-8_amd64.deb) ...
- Selecting previously deselected package g++-4.4.
- Unpacking g++-4.4 (from .../g++-4.4_4.4.5-8_amd64.deb) ...
- Selecting previously deselected package g++.
- Unpacking g++ (from .../g++_4%3a4.4.5-1_amd64.deb) ...
- Selecting previously deselected package libdpkg-perl.
- Unpacking libdpkg-perl (from .../libdpkg-perl_1.15.8.12_all.deb) ...
- Selecting previously deselected package dpkg-dev.
- Unpacking dpkg-dev (from .../dpkg-dev_1.15.8.12_all.deb) ...
- Selecting previously deselected package build-essential.
- Unpacking build-essential (from .../build-essential_11.5_amd64.deb) ...
- Selecting previously deselected package fakeroot.
- Unpacking fakeroot (from .../fakeroot_1.14.4-1_amd64.deb) ...
- Selecting previously deselected package libalgorithm-diff-perl.
- Unpacking libalgorithm-diff-perl (from .../libalgorithm-diff-perl_1.19.02-2_all.deb) ...
- Selecting previously deselected package libalgorithm-diff-xs-perl.
- Unpacking libalgorithm-diff-xs-perl (from .../libalgorithm-diff-xs-perl_0.04-1_amd64.deb) ...
- Selecting previously deselected package libalgorithm-merge-perl.
- Unpacking libalgorithm-merge-perl (from .../libalgorithm-merge-perl_0.08-2_all.deb) ...
- Selecting previously deselected package zlib1g-dev.
- Unpacking zlib1g-dev (from .../zlib1g-dev_1%3a1.2.3.4.dfsg-3_amd64.deb) ...
- Selecting previously deselected package libssl-dev.
- Unpacking libssl-dev (from .../libssl-dev_0.9.8o-4squeeze13_amd64.deb) ...
- Selecting previously deselected package manpages-dev.
- Unpacking manpages-dev (from .../manpages-dev_3.27-1_all.deb) ...
- Processing triggers for man-db ...
- Setting up libssl0.9.8 (0.9.8o-4squeeze13) ...
- Setting up libc-dev-bin (2.11.3-3) ...
- Setting up linux-libc-dev (2.6.32-45) ...
- Setting up libc6-dev (2.11.3-3) ...
- Setting up gcc-4.4 (4.4.5-8) ...
- Setting up gcc (4:4.4.5-1) ...
- Setting up libdpkg-perl (1.15.8.12) ...
- Setting up dpkg-dev (1.15.8.12) ...
- Setting up fakeroot (1.14.4-1) ...
- update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.
- Setting up libalgorithm-diff-perl (1.19.02-2) ...
- Setting up libalgorithm-diff-xs-perl (0.04-1) ...
- Setting up libalgorithm-merge-perl (0.08-2) ...
- Setting up zlib1g-dev (1:1.2.3.4.dfsg-3) ...
- Setting up libssl-dev (0.9.8o-4squeeze13) ...
- Setting up manpages-dev (3.27-1) ...
- Setting up libstdc++6-4.4-dev (4.4.5-8) ...
- Setting up g++-4.4 (4.4.5-8) ...
- Setting up g++ (4:4.4.5-1) ...
- update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode.
- Setting up build-essential (11.5) ...
- $ curl -L get.rvm.io | bash -s stable
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 10009 100 10009 0 0 13077 0 --:--:-- --:--:-- --:--:-- 13077
- Downloading RVM from wayneeseguin branch stable
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 1047k 100 1047k 0 0 1262k 0 --:--:-- --:--:-- --:--:-- 1262k
- Installing RVM to /usr/local/rvm/
- chown: invalid group: `:rvm'
- chown: invalid group: `:rvm'
- chown: invalid group: `:rvm'
- Creating RVM system user group 'rvm'
- # RVM: Shell scripts enabling management of multiple ruby environments.
- # RTFM: https://rvm.io/
- # HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net)
- # Cheatsheet: http://cheat.errtheblog.com/s/rvm/
- # Screencast: http://screencasts.org/episodes/how-to-use-rvm
- # In case of any issues read output of 'rvm requirements' and/or 'rvm notes'
- Installation of RVM in /usr/local/rvm/ is almost complete:
- * First you need to add all users that will be using rvm to 'rvm' group,
- and logout - login again, anyone using rvm will be operating with `umask g+w`.
- * To start using RVM you need to run `source /etc/profile.d/rvm.sh`
- in all your open shell windows, in rare cases you need to reopen all shell windows.
- # root,
- #
- # Thank you for using RVM!
- # I sincerely hope that RVM helps to make your life easier and more enjoyable!!!
- #
- # ~Wayne
- rvm 1.15.9 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
- $ source $HOME/.rvm/scripts/rvm
- -bash: /root/.rvm/scripts/rvm: No such file or directory
- $ cat /root/.bashrc
- # ~/.bashrc: executed by bash(1) for non-login shells.
- # Note: PS1 and umask are already set in /etc/profile. You should not
- # need this unless you want different defaults for root.
- # PS1='${debian_chroot:+($debian_chroot)}\h:\w\$ '
- # umask 022
- # You may uncomment the following lines if you want `ls' to be colorized:
- # export LS_OPTIONS='--color=auto'
- # eval "`dircolors`"
- # alias ls='ls $LS_OPTIONS'
- # alias ll='ls $LS_OPTIONS -l'
- # alias l='ls $LS_OPTIONS -lA'
- #
- # Some more alias to avoid making mistakes:
- # alias rm='rm -i'
- # alias cp='cp -i'
- # alias mv='mv -i'
- PATH=$PATH:/usr/local/drush
- # load RVM
- $HOME/.rvm/scripts/rvm
- $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement