Hello All!
Before I begin, I’m posting this here since the Manjaro Forums (original place I posted this HowTo as I was using it 100% at the time) got destroyed in an update, as some of you already know. Thankfully, my thread got saved in the archive. However, in the event that another update process ruins the archive, I’m posting yet another backup HowTo guide here, since I’m a Reddit user now:
----------------------------------------
| The Actual HowTo Guide |
----------------------------------------
I created a new how-to guide for a few reasons:
-
The cisco-anyconnect-tarball changes are now merged to cisco-anyconnect, making the old guide (and the old -tarball package) useless.
-
I have new information regarding how to add the tarball to the package installer, for both the CLI and Pamac.
-
I didn’t get edit permissions until very soon after I made this post public.
-
Since I got flag/edit permissions after I made this post, I flagged the original post, and it’s now been unlisted.
For some users, there won’t be an option to include a link, so I’ll specify how to include the tarball locally instead.
With that in mind, here’s the new (updated) how-to guide for the tarball:
CLI:
If yay is not installed, do:
sudo pacman -S yay
Then, run:
yay -S cisco-anyconnect
This will fail, but that’s ok. You want to create the cisco-anyconnect directory. This can be found in:
/home/$USER/.cache/yay/cisco-anyconnect
Copy the tarball here. Then, install again, but instead edit the PKGBUILD script within the installation command:
yay -S cisco-anyconnect --editmenu
Say None (N) to CleanBuild, None (N) to showing diffs (or All (A) if you really want to see the diffs), and All (A) to editing the PKGBUILD.
At the top you’ll see:
_source="installer" # if installing from .sh installer #_source="tarball" # if installing from .tar.gz package
Change it to:
#_source="installer" # if installing from .sh installer _source="tarball" # if installing from .tar.gz package
Scroll down and you’ll see:
if [[ "${_source}" == "tarball" ]]; then _filename="anyconnect-linux64-${pkgver}-predeploy-k9.tar.gz"
Make sure the _filename variable is the same as your tarball. Yours may not be by default because Cisco, that’s why.
Save the PKGBUILD, close, and complete the installation process as normal.
Post-install
Finally, run the following command as root:
systemctl enable --now vpnagentd
And that’s all there is to it!
If anyone needs Pamac instructions I’ll provide them in a separate comment. I don’t think anyone will need them, but if someone really needs to do this in Pamac I know how.
If there are any other questions feel free to ask either here or on the AUR page, linked above. I would ask here if it’s a simple question, but ask at the AUR page if it’s more complicated.
------------------------------------------------------------------------------------------------------------------------------------------------
I don’t know if this is necessarily the right place to post this HowTo guide but it’s in direct relation to the old Manjaro forum so from my understanding this counts. Please let me know, like before, if you have any questions!