On some things I agree with Bruce and on some not.
A bass can be hooked direct to line in with out a DI. Although it may NOT work
it can. If the problem is level then the DI can solve it as well as let long cables to be used.
Of course an active DI would be an excellent solution for you as it would give you low end punch as well as high freq clarity.
Here are some things to try if you have already acheived a good sound using
the tips bruce wrote above.
* Use a pick
* use an eq cut at around 250-500Hz (search and destroy)
* cut under 40Hz but boost at around 80-150Hz
* boost aound 2-3kHz for upper clarity (don't waste your time with anything above 4kHz). ( all eq changes are not bible written !! it depends a lot on your bass but understand what they do and you will be able to make the corect changes yourself).
As to compression - I am from the school of thought that you should use compression (if you know how only) when tracking, on a bass.
There is so much to benefit rather then to lose.
Set a ratio between 3:1 to 7:1 (depending on your style of playing)
Set the attack to fast BUT don't remove the attack of the note !! or you will get a dull lifless sound.
Set the release starting at a .5 sec. Here you will have to adjust by hearing the sound. To fast and compression will be easily heard (not good)
To slow and you will have over compression
Adjust the Treshold to reduce the gain at a 3-6dB at strongest parts of track.
Look at this link as well for some more tips.
https://homerecording.com/bbs/showthread.php?threadid=18104