Difference between revisions of "C linux development"

From Teknologisk videncenter
Jump to: navigation, search
m (Debian based distro)
m (Debian based distro)
Line 2: Line 2:
 
=Debian based distro=
 
=Debian based distro=
 
Probably more packages than you need...  
 
Probably more packages than you need...  
 +
Copy and paste the text below into your shell session. (Read first and check security risks)
 
<source lang=bash>
 
<source lang=bash>
 
cd ~; cat << EOF > updatescript
 
cd ~; cat << EOF > updatescript
 
#!/usr/bin/env bash
 
#!/usr/bin/env bash
 +
set -x
 
apt -y update
 
apt -y update
 
apt -y upgrade
 
apt -y upgrade

Revision as of 09:04, 18 December 2022

Debian based distro

Probably more packages than you need... Copy and paste the text below into your shell session. (Read first and check security risks)

cd ~; cat << EOF > updatescript
#!/usr/bin/env bash
set -x
apt -y update
apt -y upgrade
apt -y install build-essential
apt -y install manpages-dev
apt -y install glibc-doc
apt -y install dpkg-dev
apt -y install linux-doc
apt -y install user-mode-linux-doc
apt -y install libssl-dev
apt -y install docbook docbook-xml docbook-xsl
apt -y install xsltproc
apt -y install libsystemd-dev
apt -y install libcjson1 libcjson-dev
EOF
chmod +x updatescript
sudo ./updatescript
rm updatescript