First, about the invalid command:
Open YaST Package Manager and then wait for the repositories to load. Once they do, enter into the search:
tar. If a package appears on the list, click it and press the Install button. Once you have slated it for installation, press the Apply button to begin the installation process. Once the package is installed, try the command again. If the package is not there when you enter the text into the search, press the
Installed tab on the top and see if the package appears in that list. If it appears on neither of the lists, then the last resort is to use the
1-Click Installer for the Tar package (11.0). That will add the repository needed for the package and install the Tar package. Once you have done that, try the
tar command over again.
Now the second question:
The
tar command, for the most part, doesn't require root permissions, but the
make install command may need it. To gain root permissions, issue the command
su into the terminal window. Once you enter this command, you will be prompted for your root password. Enter the password, and now you are a SuperUser with root permissions. On the topic of
make install, if you run into trouble with that command, say it gets returned as an invalid command, open the package manager again and then search for the package:
make. If it is not installed, please install it because it will be used again frequently when compiling binaries. If it cannot be found in the
Available or
Installed, then use the
1-Click Installer for Make (11.0). Then, once again, try the command over.
Just as an extra, I would suggest installing the Base Development Packages. It will definitely come in handy in the future as you will use most of the packages again. To do this, open the Package Manager and wait for it to load. Once it does, look for a dropdown on the bottom-left labeled:
Groups (by default). Click this dropdown, and select
Patterns. When the list refreshes, look for the heading:
Development and then click the icon for
Base Development. Next, press the
Install All button to install all the packages for that pattern. Once you do that, press the
Apply button in the bottom-right. This installation will take a few minutes due to the amount of packages being installed. Once the installation is complete, you will have all the packages you need to basic development tasks, such as compiling, which is used very often in Linux.
Hope this helps!