IDE:Hauptseite: Unterschied zwischen den Versionen

Aus ahrensburg.city
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Der Seiteninhalt wurde durch einen anderen Text ersetzt: „* IDE:Installieren
Zeile 1: Zeile 1:
* [[IDE:Installieren]]
* [[IDE:Installieren]]
== Aktualisieren ==
* Öffne Sie das Terminal und auf ihrem Ubuntu-Desktop
* Führen Sie folgenden Befehl aus,um System zu aktualisieren.
<code>sudo apt-get update
sudo apt-get upgrade
sudo apt install libsecret-1-0 libsecret-tools libsecret-1-dev libglib2.0-dev</code>
== Google Chrome Installieren ==
<code>wget <nowiki>https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb</nowiki>
sudo dpkg -i google-chrome-stable_current_amd64.deb</code>
== Git Installieren ==
<code>sudo apt-get install git  gh
git config --global user.email "you@example.com"
git config --global user.name "Your Name"</code>
== gh Konfigurieren ==
<code>gh auth login</code>
== Nodejs Installieren ==
<code>sudo apt-get install curl
curl -o- <nowiki>https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh</nowiki> | bash
source ~/.bashrc
nvm install 22
# Verify the Node.js version:
node -v # Should print "v22.12.0".
nvm current # Should print "v22.12.0".
# Verify npm version:
npm -v # Should print "10.9.0".</code>
== Visual Studio Code ==
=== Installieren ===
<code>sudo snap install code --classic</code>
=== Pflugin ===
In Visual Studio Code, öffnen Sie das Terminal und führen Sie folgende Befehle aus.
<code>code --install-extension GitHub.copilot
code --install-extension ckolkman.vscode-postgres
code --install-extension  ms-ossdata.vscode-postgresql
code --install-extension RoweWilsonFrederiskHolme.wikitext
code --install-extension ms-windows-ai-studio.windows-ai-studio</code>
== Datenbank ==
=== PostgreSQL ===
==== Installation ====
<code>sudo apt-get install postgresql-all</code>
=== PosgreSQL Version zeigen ===
<code>psql --version</code>
=== Postgis Installation in Ubuntu 23.04 ===
<pre>
sudo -u postgres -i
createuser thorsten
createdb -E UTF8 -O thorsten thorsten
psql -d thorsten -c "CREATE EXTENSION postgis;" # Erweiterung hinzufügen
psql -d thorsten -c "CREATE EXTENSION hstore;" # Erweiterung hinzufügen
psql -d thorsten -c "CREATE EXTENSION vector;" # Erweiterung hinzufügen
psql -d thorsten -c "ALTER TABLE geometry_columns OWNER TO thorsten;" # Rechte setzen
psql -d thorsten -c "ALTER TABLE spatial_ref_sys OWNER TO thorsten;" # Rechte setzen
psql -d thorsten -c "\password thorsten"
exit # Ausloggen
</pre>
== C und C++ Installieren ==
<code>sudo apt  install curl
sudo apt install build-essential
code --install-extension  ms-vscode.cpptools-extension-pack
sudo apt-get install cmake
sudo apt-get install gdb</code>
== Python Installieren ==
<code>sudo apt install python3 python3-pip python3-venv  python-is-python3
code --install-extension  ms-python.python</code>
== Rust ==
<code>curl --proto '=https' --tlsv1.2 -sSf <nowiki>https://sh.rustup.rs</nowiki> | sh
code --install-extension rust-lang.rust-analyzer</code>
== Golang ==
<code>cd $HOME
wget <nowiki>https://go.dev/dl/go1.24.4.linux-amd64.tar.gz</nowiki>
sudo tar -C /usr/local -xzf go1.24.4.linux-amd64.tar.gz
echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc
echo 'export GOPATH=$HOME/go' >> ~/.bashrc
echo 'export PATH=$PATH:$GOPATH/bin' >> ~/.bashrc
source ~/.bashrc</code>
== dotnet ==
<code>sudo apt-get update # Aktualisiert die Paketliste
sudo apt-get install -y dotnet-sdk-9.0 # Installation des .NET SDK
sudo apt-get install -y dotnet-sdk-8.0 # Installation des .NET SDK
echo 'export PATH=$HOME/.dotnet/tools:$PATH' >> ~/.bashrc # Hinzufügen des Pfads zum .bashrc
source ~/.bashrc  # Aktualisierung der .bashrc
code --install-extension ms-dotnettools.csdevkit # Installiert die C# Dev Kit Erweiterung</code>

Version vom 30. Juni 2025, 23:31 Uhr