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 Fix Screenshot Issues On iPhone X

People have noticed that some of the times, the iPhone screenshot stops working. There are different methods by which you can solve the screenshot issue on the iPhone X. I am pretty sure that you’ll get the solution from this blog, so check from the given below ways to get the most appropriate solution for your iPhone. Go for the TunesKit Firstly, select the appropriate mode. Then, download the firmware package. After that, let the software to have the iOS return to normalcy. Go for force restart Firstly, fast tap on the Volume up option and lift your fingers. Then, fast tap on the Volume down option and lift your fingers. After that, do a long press on the side switch till the Apple symbol gets displayed. Go for Assistive Touch Firstly, visit the Settings. After that, go to the General. Next, choose Accessibility. Whenever you go to the Accessibility part, you need to move downwards to the Assistive Touch option. Enable it. Next, visit the upper side menu. After t...

How to Change Your WeChat Notification Sound

You can change your WeChat notification sound so that you get to know who is texting you without picking up your phone to check it. You can also set the WeChat notification sound to the vibrate mode in case you are in a meeting or do not want to be disturbed. Learn how to change your WeChat notification sound. Here’s how to change your WeChat Notification Sound on Android •    Click on the WeChat application symbol for opening it on the Android. You will get this app on the home screen. •    After that, press on the option located at the end right-hand side of the display. This option is titled as the “Me” and has an image of the head and shoulders. •    In case this option gets open on the previous chat, then press on the back option to get the drop-down list of all the current conversations on the screen. •     Press on the Settings option located at the end of the window. •    Go to the noti...

Wi-Fi 6: Launch Date, Specifications, and Features

Wi-Fi 6 is a next-generation wireless technology which was previously known as 802.11 ax, but later on, the Wi-Fi Alliance decided to change the name and gave it a more handy name. Wi-Fi 6 is superior to the Wi-Fi 5 in most ways. Wi-Fi 5 is used in current routers and other internet devices. The aim behind changing its name is to make the name easier to remember and understand. Rather than using meaningless numbers and letters which most of the people don’t remember, terms like 2G, 3G, 4G, and 5G, are easier to remember. But what features we are getting in the new version Wi-Fi 6? If you think that it is faster than you are absolutely right.  It works much faster than its previous version. It has been designed in such a way that will provide more stable and overall better Wi-Fi performance even when a crowd is using it. It has many other advantages over the Wi-Fi 5. Wi-Fi 6 Release Date According to the Wi-Fi Alliance, the Wi-Fi 6 will be released in ‘later in 2019.’ From...