Skip to main content

How to Fix ‘sudo apt-get command not found’ on Mac

Some Debian use dpkg packaging system which offers programs and apps for the installation procedure. With this packing system, users do not have to build apps from any source codes. The tool which is compulsory for the interaction with the packing system is Apt. But certain times, the APT tool will not work well on your Mac and will show the ‘sudo apt-get command not found’ error. To fix this error, go through the methods mentioned below.
Here’s How to Fix ‘sudo apt-get command not found’ on Mac
•    Install Homebrew on your Mac
1.    Keep pressing on the Command and Space keys together.
2.    Go to the Spotlight option.
3.    Enter Terminal in the search bar.
4.    Click on the Enter option.
5.    Firstly, you have to start installing the Xcode command-line tool  by going through the below-mentioned command:
xcode-select –install
6.    Once you have installed the Xcode tool, start typing and copying the below-mentioned command for installing Homebrew on your Mac:
Ruby -e “$(curl -fsSL)”
7.    Now, you will get the installation window, which indicates the Return key and also the password for verification.
8.    Now, you will find the installation successful text.
9.    After that, use the Homebrew, enter the below-mentioned command for installing the package which you wish to install on the system:
brew install name
10.    You need to use the brew command for installing the package on the computer.
•    Install MacPorts in Your Mac
1.    Go to the App Store.
2.    It is located on the Dock folder.
3.    Enter the Xcode in the text field.
4.    Press on the Get and install the Xcode option.
5.    You need to wait for a few minutes for installing the Xcode.
6.    Accept the terms and conditions of installing the Xcode.
7.    It will open the app from the App Store or Dock.
8.    Press on the Agree option.
9.    Enter the below-mentioned command in Terminal to accept the terms and conditions.
10.    Keep pressing on the Cmd and Space key are given on the system keyboard.
11.    Enter the Terminal in the search bar.
12.    Enter the below-mentioned command for installing the Xcode command-line tool:
xcode-select –install
13.    Start downloading the MacPorts.
14.    Once you have completed the downloading process, go to the downloaded file.
15.    Start installing the program by completing the installation procedure.
16.    Enter the password in case it is compulsory.
17.    After completing the installation procedure, start the Terminal again and enter the below-mentioned command:
sudo port selfupdate
18.    Start installing the package by going through the command mentioned below:
sudo port install name
Mia Davis is a creative person who has been writing blogs and articles about cybersecurity. She writes about the latest updates regarding norton.com/setup and how it can improve the work experience of users. Her articles have been published in many popular e-magazines, blogs, and websites.

Comments

Popular posts from this blog

How to Take Screenshot of a Full Page on Google Chrome

Did you find something informative while browsing and want to save it on your device? Taking screenshot is a right and easiest way to keep the screen as it is. Although capturing the things displayed on the screen is easy, but you ever want to capture a whole web page, then read on. Here are some ways to capture the screenshot in both manners. Taking a screenshot of the full page on Google Chrome: On Desktop: There are several built-in screenshot functions available in Microsoft Windows that you can use to take screenshot easily such as print screen and Snipping Tool. Similarly, with onscreen controls (Shift+Command+5) in Mac, you can take a screenshot as you want. This is all about capturing the things appearing on monitor, but if you want to screenshot a complete web page, use below steps. As extensions enhance the capability of a browser to screenshot whole web page, you also need to add an extension “Full Page Screen Capture” to your Chrome browser. Open your ‘Chrome’

5 Best Android Word Games that Vocabulary Nerds Will Love

In this blog we will mention the best Android word games for you, which will take your vocabulary to the next level. These games are easy to play and give you the satisfaction of learning new words daily. If you make a habit of playing word games daily on your Android phone, it will make you the master of words. So, make sure you try each game that we are telling you today. 5 Best Word Games for Android 1. ALPHABEAR In this game, you will see bears dancing around. Lots of words vocab buildings, and some missing spaces between those words. You will have to type the missing element between vocabulary buildings. On every correct word you will get points, and the more points you earn, the more fatty bears you will get. This game is very entertaining, and you will never get bored playing it. I will suggest you download it now from the play store and it is free to download. 2. WORDSCAPES This game is very easy at starting, but as you move further, it will bring you lots of challe

Best GoPro HERO7 Black Alternatives in 2019

You have visited the right place if you were searching for the best action cameras available in 2019.  Action cameras are used for outdoor activities like biking, skateboarding, or swimming. These type of cameras are known for their compact size, video quality, and built quality.  Today we are unlocking the list of best GoPro and its alternatives in 2019. Make sure you go through each camera that we have listed below. These cameras can be attached to your helmet, car, bike, etc. GoPro is a leading brand in action cameras, and initially, they started the vision of action cameras. That is why people are familiar with the term “GoPro” rather than “action camera.”  GoPro comes with some basic features such as water resistance, compact size, and much more. YI 4K+/60fps Action Camera Features: Weight: 93g | 4K video: up to 60 fps | 1080: up to 120fps | 720: up to 240fps | Battery backup: up to 2 hrs | Waterproof: N/A (waterproof case available) Pros: Excellent recording quali