Difference between revisions of "C linux development"

From Teknologisk videncenter
Jump to: navigation, search
m (Debian based distro)
m
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)  
+
Copy and paste the text below into your shell session.  
 +
*'''(Read first and check security riscs)'''
 
<source lang=bash>
 
<source lang=bash>
 
cd ~; cat << EOF > updatescript
 
cd ~; cat << EOF > updatescript

Revision as of 10: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 riscs)
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