Operating System Programming 4DISS

(REV358--31-Jan-2024)
Welcome to the Operating System Programming for DISS site. The following is a step-by-step guide to set up a Virtual Debian Guest on VirtualBox. This site has been managed by VauLSMorg since 2020.
This is the WAY!

View on GitHub

HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT

Adding Debian Packages

SuperUser (root) account is needed for adding Debian Packages.

su -

(RESULT)

cbkadal@cbkadal:~$ su -
Password:

root@cbkadal:~#

time (date;apt-get update;apt-get upgrade -y)

(RESULT)

root@cbkadal:~# time (date;apt-get update;apt-get upgrade -y)
Fri 07 Jan 2022 07:54:46 AM WIB
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://security.debian.org bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://deb.debian.org/debian bullseye-backports InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

real	0m3.643s
user	0m2.502s
sys	0m0.889s

root@cbkadal:~#


The Package List 1

export DEBS="
apt-file
aptitude
autoconf
automake
bc
bison
build-essential
cowsay
curl
dateutils
dos2unix
fail2ban
flex
gawk
gettext
git
git-flow
gnupg
gnupg-agent
libacl1-dev
libcap-dev
libelf-dev
liblocale-msgfmt-perl
libncurses-dev
libseccomp-dev
libselinux1-dev
libssl-dev
locales-all
manpages-dev
net-tools
parted
python-is-python3
rsync
sysstat
sysvbanner
texinfo
unzip
vim
x11-apps
"

(RESULT)

root:~# export DEBS="
> apt-file
> aptitude
> autoconf
[...]
> unzip
> vim
> x11-apps
> "

root@cbkadal:~# 


Installing Package List 1

date;
time apt-get install $DEBS -y

(RESULT)

root@cbkadal:~# date;
Fri 07 Jan 2022 07:56:36 AM WIB

root@cbkadal:~# time apt-get install $DEBS -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done

The following additional packages will be installed:
  aptitude-common autotools-dev binutils binutils-common binutils-x86-64-linux-gnu cpp cpp-10 dirmngr dpkg-dev
  fakeroot fontconfig-config fonts-dejavu-core g++ g++-10 gcc gcc-10 git-man gnupg-l10n gnupg-utils gpg gpg-agent
  gpg-wks-client gpg-wks-server gpgconf gpgsm libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
  [...]

Suggested packages:
  apt-xapian-index aptitude-doc-en | aptitude-doc debtags autoconf-archive gnu-standards autoconf-doc libtool
  binutils-doc bison-doc filters cowsay-off cpp-doc gcc-10-locales dbus-user-session pinentry-gnome3 tor
  debian-keyring mailx monit sqlite3 g++-multilib g++-10-multilib gcc-10-doc gawk-doc gcc-multilib flex gdb gcc-doc
  [...]

The following NEW packages will be installed:
  apt-file aptitude aptitude-common autoconf automake autotools-dev bc binutils binutils-common
  binutils-x86-64-linux-gnu bison build-essential cowsay cpp cpp-10 curl dateutils dirmngr dos2unix dpkg-dev fail2ban
  fakeroot fontconfig-config fonts-dejavu-core g++ g++-10 gawk gcc gcc-10 gettext git git-flow git-man gnupg
  [...]

0 upgraded, 181 newly installed, 0 to remove and 0 not upgraded.
Need to get 122 MB of archives.
After this operation, 639 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 libmpfr6 amd64 4.1.0-3 [2,012 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 libsigsegv2 amd64 2.13-1 [34.8 kB]
Get:3 http://deb.debian.org/debian bullseye/main amd64 gawk amd64 1:5.1.0-1 [605 kB]
[...]
Get:179 http://deb.debian.org/debian bullseye/main amd64 whois amd64 5.5.10 [81.1 kB]                                  
Get:180 http://deb.debian.org/debian bullseye/main amd64 x11-apps amd64 7.7+8 [662 kB]                                 
Get:181 http://deb.debian.org/debian bullseye/main amd64 xbitmaps all 1.1.1-2.1 [25.8 kB]  

Fetched 122 MB in 1min 13s (1,682 kB/s)                                                                                
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package libmpfr6:amd64.
[...]

Processing triggers for mailcap (3.69) ...
Processing triggers for libc-bin (2.31-13+deb11u2) ...
Processing triggers for man-db (2.9.4-2) ...

real	30m43.330s
user	0m40.566s
sys	0m22.501s

root@cbkadal:~# 


The Package List 2 (FUSE+TLPI+KERNEL)

export DEBS="
acct
bsdmainutils
clang-format
expect
faketime
finger
fuse
kmod
libc6-dev
libfuse-dev
lynx
pkg-config
sudo
tmux
util-linux
"


Installing Package List 2

date;
time apt-get install $DEBS -y


The Package List 3 (Intel Only)

export DEBS="
libc6-dev-i386
"


Installing Package List 3

date;
time apt-get install $DEBS -y


UPDATE and UPGRADE using aptitude

time (aptitude update&&echo " =1= "&&aptitude safe-upgrade -y&&echo " =2= "&&aptitude autoclean -y;)



HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT