Update 01-en.md

This commit is contained in:
Christoph 2023-12-21 11:16:49 +01:00 committed by GitHub
parent 6046264cb1
commit a334a86227
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
---
title: Install and Use Homebrew on Your netcup Server
description: Learn how to effectively install Homebrew on your netcup server and carry out basic functions like installing, removing and managing packages.
title: Installing Homebrew on Your netcup Server
description: Learn how to install Homebrew on your netcup Server and carry out basic functions like installing, removing and managing packages.
level: intermediate
updated_at: 2023-10-23
slug: install-homebrew
@ -8,21 +8,21 @@ author_name: Nishant Bhagat
author_url: https://github.com/Nishantbhagat57
author_image: https://avatars.githubusercontent.com/u/64642374
author_bio:
tags: [install-homebrew, homebrew, brew, linux, netcup]
tags: [install, homebrew, brew, linux, netcup]
netcup_product_url: https://www.netcup.eu/bestellen/produkt.php?produkt=2902
language: en
available_languages: en
---
# Introduction
In this tutorial, you will learn how to install Homebrew on your netcup server to manage software packages. Homebrew simplifies software management, especially in Unix environments. This guide will also equip you with knowledge on performing basic operations like installing, removing and managing packages.
In this tutorial, you will learn how to install Homebrew on your netcup server to manage software packages. Homebrew simplifies software management, especially in Unix and Unix-like environments. This guide will also equip you with knowledge on performing basic operations like installing, removing and managing packages.
This tutorial is explained in a Linux context.
This tutorial is focused on Linux distributions and should be read with that context in mind.
# Requirements
Netcup Server running a fairly modern distribution of Linux such as latest Ubuntu. You will need root or sudo privileges to complete the installations.
A netcup server running a fairly modern distribution of Linux such as the latest Ubuntu or Debian. You will need root or sudo privileges to complete the installation.
# Step 1 - Install Dependencies
# Step 1 - Install dependencies
First, ensure your server has all required dependencies.
```bash
@ -43,33 +43,33 @@ echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> $HOME/.bash_pro
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
```
# Step 3 - Verify Homebrew Installation
Use the command `brew doctor` to confirm Homebrew is working as expected. Verify further by testing installation with a package, like:
# Step 3 - Verify Homebrew installation
Use the command `brew doctor` to confirm Homebrew is working as expected. You may also verify that everything is installed properly by installing a package:
```bash
brew install python
```
# Common Homebrew Commands
# Common Homebrew commands
- Install a package: `brew install package_name`
- Uninstall a package: `brew remove package_name`
- List installed packages: `brew list`
- Remove unneeded dependencies: `brew autoremove`
# Removing Homebrew
Download and run the uninstallation script in case you want to remove Homebrew:
Download and run the uninstallation script to remove Homebrew:
```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
```
Manually remove leftover directories to finalize the uninstallation.
You may manually remove leftover directories to finalize the uninstallation.
# Conclusion
Homebrew can be a handy addition to software management on your netcup server. The simple commandline interface can simplify many tasks, from installing to managing packages.
Homebrew can be a handy addition that helps with software management on your netcup server. Homebrew can simplify tasks, from installing to managing packages.
# Licence
# License
[MIT](https://github.com/netcup-community/community-tutorials/blob/main/LICENSE)
@ -84,9 +84,9 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
# Contributor's Certificate of Origin
By making a contribution to this project, I certify that:
1) The contribution was created in whole or in part by me and I have the right to submit it under the licence indicated in the file; or
1) The contribution was created in whole or in part by me and I have the right to submit it under the license indicated in the file; or
2) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate licence and I have the right under that licence to submit that work with modifications, whether created in whole or in part by me, under the same licence (unless I am permitted to submit under a different licence), as indicated in the file; or
2) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same license (unless I am permitted to submit under a different license), as indicated in the file; or
3) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.